[INFO] cloning repository https://github.com/phip1611/terminal-gamepad-game-demo
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/phip1611/terminal-gamepad-game-demo" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fphip1611%2Fterminal-gamepad-game-demo", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fphip1611%2Fterminal-gamepad-game-demo'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] c3c0692ad17b8f5251bd21f5b644d841bc3a1c1d
[INFO] checking phip1611/terminal-gamepad-game-demo against master#af3c6e733a40e671550e0f0f5aeecaa13772ba56 for pr-74989
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fphip1611%2Fterminal-gamepad-game-demo" "/workspace/builds/worker-5/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/phip1611/terminal-gamepad-game-demo on toolchain af3c6e733a40e671550e0f0f5aeecaa13772ba56
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+af3c6e733a40e671550e0f0f5aeecaa13772ba56" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/phip1611/terminal-gamepad-game-demo
[INFO] finished tweaking git repo https://github.com/phip1611/terminal-gamepad-game-demo
[INFO] tweaked toml for git repo https://github.com/phip1611/terminal-gamepad-game-demo written to /workspace/builds/worker-5/source/Cargo.toml
[INFO] crate git repo https://github.com/phip1611/terminal-gamepad-game-demo already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+af3c6e733a40e671550e0f0f5aeecaa13772ba56" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+af3c6e733a40e671550e0f0f5aeecaa13772ba56" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] bd584183d5a67918b87620133a5904e02ba81376331d1d953721dd912a4e808d
[INFO] running `Command { std: "docker" "start" "-a" "bd584183d5a67918b87620133a5904e02ba81376331d1d953721dd912a4e808d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "bd584183d5a67918b87620133a5904e02ba81376331d1d953721dd912a4e808d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "bd584183d5a67918b87620133a5904e02ba81376331d1d953721dd912a4e808d", kill_on_drop: false }`
[INFO] [stdout] bd584183d5a67918b87620133a5904e02ba81376331d1d953721dd912a4e808d
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+af3c6e733a40e671550e0f0f5aeecaa13772ba56" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] bead83b024d43fe795d15c2f1fb8641743d3ea38c3a3a0d0e889fc2d0504c4dc
[INFO] running `Command { std: "docker" "start" "-a" "bead83b024d43fe795d15c2f1fb8641743d3ea38c3a3a0d0e889fc2d0504c4dc", kill_on_drop: false }`
[INFO] [stderr]    Compiling pkg-config v0.3.17
[INFO] [stderr]    Compiling libc v0.2.71
[INFO] [stderr]    Compiling bitflags v1.2.1
[INFO] [stderr]    Compiling log v0.4.8
[INFO] [stderr]     Checking cfg-if v0.1.10
[INFO] [stderr]    Compiling nix v0.15.0
[INFO] [stderr]     Checking void v1.0.2
[INFO] [stderr]     Checking uuid v0.8.1
[INFO] [stderr]     Checking vec_map v0.8.2
[INFO] [stderr]     Checking fnv v1.0.7
[INFO] [stderr]    Compiling libudev-sys v0.1.4
[INFO] [stderr]    Compiling ncurses v5.99.0
[INFO] [stderr]     Checking pancurses v0.16.1
[INFO] [stderr]     Checking gilrs-core v0.2.6
[INFO] [stderr]     Checking gilrs v0.7.4
[INFO] [stderr]     Checking terminal-game v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused imports: `Read`, `stdin`
[INFO] [stdout]  --> src/main.rs:1:15
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::io::{stdin, Read};
[INFO] [stdout]   |               ^^^^^  ^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `sleep`
[INFO] [stdout]  --> src/main.rs:2:19
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::thread::{sleep, spawn};
[INFO] [stdout]   |                   ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::time::Duration`
[INFO] [stdout]  --> src/main.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::time::Duration;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::process::exit`
[INFO] [stdout]  --> src/main.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use std::process::exit;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Read`, `stdin`
[INFO] [stdout]  --> src/main.rs:1:15
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::io::{stdin, Read};
[INFO] [stdout]   |               ^^^^^  ^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `sleep`
[INFO] [stdout]  --> src/main.rs:2:19
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::thread::{sleep, spawn};
[INFO] [stdout]   |                   ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::time::Duration`
[INFO] [stdout]  --> src/main.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::time::Duration;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::process::exit`
[INFO] [stdout]  --> src/main.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use std::process::exit;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable statement
[INFO] [stdout]   --> src/main.rs:81:5
[INFO] [stdout]    |
[INFO] [stdout] 61 | /     loop {
[INFO] [stdout] 62 | |         window.clear();
[INFO] [stdout] 63 | |         window.refresh();
[INFO] [stdout] 64 | |
[INFO] [stdout] ...  |
[INFO] [stdout] 79 | |         //println!("Position received! new position is ({}, {})", position.0, position.1);
[INFO] [stdout] 80 | |     }
[INFO] [stdout]    | |_____- any code following this expression is unreachable
[INFO] [stdout] 81 |       pancurses::endwin();
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^^^^^^ unreachable statement
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unreachable_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable statement
[INFO] [stdout]   --> src/main.rs:81:5
[INFO] [stdout]    |
[INFO] [stdout] 61 | /     loop {
[INFO] [stdout] 62 | |         window.clear();
[INFO] [stdout] 63 | |         window.refresh();
[INFO] [stdout] 64 | |
[INFO] [stdout] ...  |
[INFO] [stdout] 79 | |         //println!("Position received! new position is ({}, {})", position.0, position.1);
[INFO] [stdout] 80 | |     }
[INFO] [stdout]    | |_____- any code following this expression is unreachable
[INFO] [stdout] 81 |       pancurses::endwin();
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^^^^^^ unreachable statement
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unreachable_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: `*mut libudev_sys::udev_monitor` cannot be sent between threads safely
[INFO] [stdout]    --> src/main.rs:22:5
[INFO] [stdout]     |
[INFO] [stdout] 22  |       spawn(move || {
[INFO] [stdout]     |  _____^^^^^_-
[INFO] [stdout]     | |     |
[INFO] [stdout]     | |     `*mut libudev_sys::udev_monitor` cannot be sent between threads safely
[INFO] [stdout] 23  | |         // y, x (Zeile, Spalte)
[INFO] [stdout] 24  | |         let mut position = (1, 1);
[INFO] [stdout] 25  | |
[INFO] [stdout] ...   |
[INFO] [stdout] 54  | |         }
[INFO] [stdout] 55  | |     });
[INFO] [stdout]     | |_____- within this `[closure@src/main.rs:22:11: 55:6 gilrs:Gilrs, sender:Sender<(u8, u8)>]`
[INFO] [stdout]     |
[INFO] [stdout]     = help: within `[closure@src/main.rs:22:11: 55:6 gilrs:Gilrs, sender:Sender<(u8, u8)>]`, the trait `Send` is not implemented for `*mut libudev_sys::udev_monitor`
[INFO] [stdout]     = note: required because it appears within the type `gilrs_core::platform::platform::udev::Monitor`
[INFO] [stdout]     = note: required because it appears within the type `gilrs_core::platform::platform::gamepad::Gilrs`
[INFO] [stdout]     = note: required because it appears within the type `gilrs_core::Gilrs`
[INFO] [stdout]     = note: required because it appears within the type `Gilrs`
[INFO] [stdout]     = note: required because it appears within the type `[closure@src/main.rs:22:11: 55:6 gilrs:Gilrs, sender:Sender<(u8, u8)>]`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to previous error; 5 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `terminal-game`.
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error[E0277]: `*mut libudev_sys::udev_monitor` cannot be sent between threads safely
[INFO] [stdout]    --> src/main.rs:22:5
[INFO] [stdout]     |
[INFO] [stdout] 22  |       spawn(move || {
[INFO] [stdout]     |  _____^^^^^_-
[INFO] [stdout]     | |     |
[INFO] [stdout]     | |     `*mut libudev_sys::udev_monitor` cannot be sent between threads safely
[INFO] [stdout] 23  | |         // y, x (Zeile, Spalte)
[INFO] [stdout] 24  | |         let mut position = (1, 1);
[INFO] [stdout] 25  | |
[INFO] [stdout] ...   |
[INFO] [stdout] 54  | |         }
[INFO] [stdout] 55  | |     });
[INFO] [stdout]     | |_____- within this `[closure@src/main.rs:22:11: 55:6 gilrs:Gilrs, sender:Sender<(u8, u8)>]`
[INFO] [stdout]     |
[INFO] [stdout]     = help: within `[closure@src/main.rs:22:11: 55:6 gilrs:Gilrs, sender:Sender<(u8, u8)>]`, the trait `Send` is not implemented for `*mut libudev_sys::udev_monitor`
[INFO] [stdout]     = note: required because it appears within the type `gilrs_core::platform::platform::udev::Monitor`
[INFO] [stdout]     = note: required because it appears within the type `gilrs_core::platform::platform::gamepad::Gilrs`
[INFO] [stdout]     = note: required because it appears within the type `gilrs_core::Gilrs`
[INFO] [stdout]     = note: required because it appears within the type `Gilrs`
[INFO] [stdout]     = note: required because it appears within the type `[closure@src/main.rs:22:11: 55:6 gilrs:Gilrs, sender:Sender<(u8, u8)>]`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to previous error; 5 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] [stderr] error: build failed
[INFO] running `Command { std: "docker" "inspect" "bead83b024d43fe795d15c2f1fb8641743d3ea38c3a3a0d0e889fc2d0504c4dc", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "bead83b024d43fe795d15c2f1fb8641743d3ea38c3a3a0d0e889fc2d0504c4dc", kill_on_drop: false }`
[INFO] [stdout] bead83b024d43fe795d15c2f1fb8641743d3ea38c3a3a0d0e889fc2d0504c4dc
